﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="scheduler_WorkDay_set.aspx.cs" Inherits="Ccit.OA.Scheduler.scheduler_WorkDay_set" %>
<%@ Register TagPrefix="ccit" Namespace="Ccit.ServerControls" Assembly="Ccit.ServerControls.ActionForm" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>日常管理 -&gt; 工作日设置</title>
      <script language="javascript" type="text/javascript" src="../script/jquery.js"></script>
    <script language="javascript" type="text/javascript" src="../script/StringClass_Ext.js"></script>
    <script language="javascript" type="text/javascript" src="../script/jsonlib.js"></script>
    <script language="javascript" src="../script/jwindow.js" type="text/javascript"></script>
    <script language="javascript" src="../script/jcontrol.js" type="text/javascript"></script>
    <script language="javascript" src="../script/jbase64.js" type="text/javascript"></script>
    <style>.cur_red { BORDER-RIGHT: #6a8866 1px solid; BORDER-TOP: #6a8866 1px solid; FONT-WEIGHT: bold; BORDER-LEFT: #6a8866 1px solid; WIDTH: 100%; COLOR: white; BORDER-BOTTOM: #6a8866 1px solid; HEIGHT: 100%; BACKGROUND-COLOR: red; TEXT-ALIGN: center }
	.cur_blue { BORDER-RIGHT: #6a8866 1px solid; BORDER-TOP: #6a8866 1px solid; FONT-WEIGHT: bold; BORDER-LEFT: #6a8866 1px solid; WIDTH: 100%; COLOR: white; BORDER-BOTTOM: #6a8866 1px solid; HEIGHT: 100%; BACKGROUND-COLOR: blue; TEXT-ALIGN: center }
	.past_red { BORDER-RIGHT: #6a8866 1px solid; BORDER-TOP: #6a8866 1px solid; BORDER-LEFT: #6a8866 1px solid; COLOR: red; BORDER-BOTTOM: #6a8866 1px solid; HEIGHT: 100%; BACKGROUND-COLOR: #f5f9fd; TEXT-ALIGN: center }
	.past_blue { BORDER-RIGHT: #6a8866 1px solid; BORDER-TOP: #6a8866 1px solid; BORDER-LEFT: #6a8866 1px solid; COLOR: black; BORDER-BOTTOM: #6a8866 1px solid; HEIGHT: 100%; BACKGROUND-COLOR: #f5f9fd; TEXT-ALIGN: center }
	.null_color { BORDER-RIGHT: #6a8866 1px solid; BORDER-TOP: #6a8866 1px solid; BORDER-LEFT: #6a8866 1px solid; BORDER-BOTTOM: #6a8866 1px solid; HEIGHT: 100%; BACKGROUND-COLOR: #f5f9fd; TEXT-ALIGN: center }
	.title_color { BORDER-RIGHT: #6a8866 1px solid; BORDER-TOP: #6a8866 1px solid; BORDER-LEFT: #6a8866 1px solid; BORDER-BOTTOM: #6a8866 1px solid; HEIGHT: 100%; BACKGROUND-COLOR: #f5f9fd; TEXT-ALIGN: center }
	</style>
</head>
<body>
    <ccit:ActionForm id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server" EnablePageMethods="true">
    </asp:ScriptManager>
    <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0" class="tbToolbar">
				<tr>
					<td align="right">
						<div class="tbSeparator"></div>
					</td>	
					<td width="35%"  class="titlebar"><nobr>
						 日常管理 -&gt; 工作日设置
					</nobr></td>	    
					<td class="titlebar" vAlign=middle align="left" width=100%>
						<asp:imagebutton id="imbPreYear" style="CURSOR: hand" Runat="server" 
                            BorderWidth=0 ImageUrl="../images/toolbar/Fback.GIF" onclick="imbPreYear_Click"></asp:imagebutton>
						<asp:label id="lbTitle" runat="server" Height="20"></asp:label>
						<asp:imagebutton id="imbNextYear" style="CURSOR: hand" BorderWidth=0 
                            Runat="server" ImageUrl="../images/toolbar/FFORWARD.GIF" 
                            onclick="imbNextYear_Click"></asp:imagebutton></td>
					<td align="right">
						<div class="tbSeparator"></div>
					</td>																	    
					<td align="left">
						<div class="tbSeparatorEnd"></div>
					</td>			
				</tr>
      </table>	
	  <table class="tableborder" id="Table5" style="MARGIN: 0px; WIDTH: 98%" cellSpacing="0"
				cellPadding="0" align="center" border="0">
				
				<tr>
					<td vAlign="top" width="100%"><asp:table id="tbMain" runat="server" BorderWidth="0" cellPadding="0" cellSpacing="0" Width="100%"
							CssClass="listframe">
							<asp:TableRow ID="TableRow1" CssClass="listtitle" Runat="server">
								<asp:TableCell CssClass="listline" Wrap="False" HorizontalAlign="Center">月份</asp:TableCell>
								<asp:TableCell CssClass="listline" ForeColor="red" HorizontalAlign="Center">六</asp:TableCell>
								<asp:TableCell CssClass="listline" ForeColor="red" HorizontalAlign="Center">日</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">一</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">二</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">三</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">四</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">五</asp:TableCell>
								<asp:TableCell CssClass="listline" ForeColor="red" HorizontalAlign="Center">六</asp:TableCell>
								<asp:TableCell CssClass="listline" ForeColor="red" HorizontalAlign="Center">日</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">一</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">二</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">三</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">四</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">五</asp:TableCell>
								<asp:TableCell CssClass="listline" ForeColor="red" HorizontalAlign="Center">六</asp:TableCell>
								<asp:TableCell CssClass="listline" ForeColor="red" HorizontalAlign="Center">日</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">一</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">二</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">三</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">四</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">五</asp:TableCell>
								<asp:TableCell CssClass="listline" ForeColor="red" HorizontalAlign="Center">六</asp:TableCell>
								<asp:TableCell CssClass="listline" ForeColor="red" HorizontalAlign="Center">日</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">一</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">二</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">三</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">四</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">五</asp:TableCell>
								<asp:TableCell CssClass="listline" ForeColor="red" HorizontalAlign="Center">六</asp:TableCell>
								<asp:TableCell CssClass="listline" ForeColor="red" HorizontalAlign="Center">日</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">一</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">二</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">三</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">四</asp:TableCell>
								<asp:TableCell CssClass="listline" HorizontalAlign="Center">五</asp:TableCell>
								<asp:TableCell CssClass="listline" ForeColor="red" HorizontalAlign="Center">六</asp:TableCell>
								<asp:TableCell CssClass="listline" ForeColor="red" HorizontalAlign="Center">日</asp:TableCell>
							</asp:TableRow>
						</asp:table></td>
				</tr>
				<tr>
					<td class="pformstrip" colSpan="4" height="8">&nbsp;&nbsp;&nbsp;&nbsp; * <font color="red">
							红色</font>代表休息日，<font color="blue">蓝色</font>代表工作日。点击颜色块来改变工作日设置 *
					</td>
				</tr>
			</table>	
    </ccit:ActionForm>
    <script type="text/javascript">
        function chg_flag(tbCellId)
	    {
	        //alert(tbCellId); 
		    if(document.getElementById(tbCellId).className == "cur_red")
		    {
			    document.getElementById(tbCellId).className = "cur_blue" ;
		    }
		    else
		    {
			    document.getElementById(tbCellId).className = "cur_red" ;
		    } 
		    PageMethods.DoOperateWorkDay(tbCellId,ClientCallBack);  
        } 
        function ClientCallBack(vResult)
        {
            if(vResult!="-999")
            {
                return true;
            }
            else{return false;}
        }
    </script>
 
</body>
</html>
